package com.sj.common.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: xiaoqi
 * Date: 2022-03-23
 * Time: 下午 23:05
 * Description: 管理端查询用户参数
 *
 * @author xiaoqi
 * @since 2022-03-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("管理端查询用户参数")
public class AdminUserQueryParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("当前页")
    private Integer current;

    @ApiModelProperty("每页显示条数")
    private Integer size;

    @ApiModelProperty("昵称或用户名")
    private String name;

    @ApiModelProperty("角色名")
    private String roleName;

    @ApiModelProperty("手机号")
    private String phone;
}